body{
    font: 0.75em/1.5em Verdana,sans-serif;
}
body,input,textarea,select{
	font-size:12px;
	color:#333;
	font-family:arial;
}
body,h1,h3,h4,p,ul,ol{
	margin:0;
}
h1 {
    font-size: 1.5em;
}
h2 {
    font-size: 1.2em;
}
h3,h4,h5,h6 {
    font-size: 1.1em;
}
ul,ol{
	padding-left:0;
	list-style-type:none;
}
a img{border:0;}
a {
    color: #06c;
}
a:hover {
    color: #c00;
}
.errors {
    margin: 6px 0;
    padding: 2px 10px;
    line-height: 1.5em;
    color: #c00;
    background-color: #fffce4;
}
.errors ul {
    padding-left: 15px;
}
.errors ul li {
    list-style: disc outside none;
}
.clear {
    clear: both; 
}
input,textarea,option {
    font-size: 12px;
}

#wrap {
    min-width:1000px;
}
#flashed {
    position: absolute;
    z-index: 999;
    top:10px;
    left:50%;
    padding: 0 20px;
    line-height: 20px;
    color: #e00;
    background: #fff1a8;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -khtml-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#header {
    position: relative;
    background-color: #0a346d;
    border-bottom: 1px solid #383b3c;
}
#header .title {
    height: 66px;
    border-bottom: 7px solid #323536;
    background: url(../images/bg.png) no-repeat;
}
#header #logo a {
    display: block;
    width: 200px;
    height: 66px;
    overflow: hidden;
    text-indent: -999px;
}
#header #quickmenu {
    position: absolute;
    right:20px;
    top:10px;
    color: #5680bb;
}
#header #quickmenu a {
    color: #bcd2f1;
}

#container {
    padding-left: 200px;
    border-top: 1px solid #1b1c1d;
    overflow:hidden;
}
#main,#side {
    padding-bottom:32767px; 
    margin-bottom:-32767px;
}
#main {
    float: right;
    width: 100%;
    height: auto;
}
#side {
    float: left;
    display: inline;
    margin-left: -201px;
    width: 200px;
    min-height:542px;
    _height: 542px;
    background: #e0e1f3;
    border-right: 1px solid #c8c8c3;
}
#menu ul {
    padding: 10px 0;
}
#menu ul li {
    display: block;
    height: 2em;
    line-height: 2em;
}
#menu ul li a {
    display: block;
    padding-left: 56px;
    color: #036;
    text-decoration: none;
    background: url(../images/bg.png) no-repeat -400px -70px;
}
#menu ul li a:hover {
    background-color: #eeeef8;
}
#menu ul li.dashboard a {
    background-position: -400px -70px;
}
#menu ul li.post a {
    background-position: -400px -270px;
}
#menu ul li.entry a {
    background-position: -400px -95px;
}
#menu ul li.category a {
    background-position: -400px -120px;
}
#menu ul li.tag a {
    background-position: -400px -145px;
}
#menu ul li.comment a {
    background-position: -400px -170px;
}
#menu ul li.upload a {
    background-position: -400px -195px;
}
#menu ul li.themes a {
    background-position: -400px -220px;
}
#menu ul li.logout a {
    background-position: -400px -245px;
}
#menu ul li.chosen a {
    background-color:#cbcbd3;
}

#where {
    padding: 0 20px;
    line-height: 2.5em;
    color: #666;
    background: #f3f3fb;
}
#where span.chosen {
    color: #333;
}

.content {
    padding: 10px 20px 100px;
}
.content h3 {
    padding: 0 10px;
    background-color: #e0e1f3;
    line-height: 2em;
}

.form-box h4 {
    padding:0 10px;
    line-height:2em;
    background-color:#f1f7f8;
}
.form-box table {
    margin: 6px auto;
    width: 90%;
}
.form-box table th,.form-box table td {
    padding: 5px;
}
.form-box table th {
    width: 10%; 
    text-align: left;
    vertical-align: top;
    line-height: 1.8em;
}

.form-box .text,.data-list .text {
    padding: 1px;
    border: 1px solid #ccc;
}
.form-box .text:focus,.data-list .text:focus {
    border: 1px solid #eb9c1f;
}
.form-box input.button,.data-list input.button {
    padding: 0 10px;
    font-weight:bold;
    color: #000;
}
.form-box input.button-2,.data-list input.button-2 {
    padding: 2px 10px;
    padding: 4px 0 0px\9;
    color: #333;
}
.form-box span.note {
    display: block;
    color: #d00;
}
.form-box strong.required {
    color: #f00;
}
.form-box li {
    list-style: none;
}
.form-box .datetime {
    width: 80px;
}

textarea#body {
    height: 200px;
}

.data-list table {
    margin: 10px 0;
    border: 1px solid #e2e2e2;
}
.data-list table td,.data-list table th {
    padding: 5px 10px;
    border-collapse: collapse;
    border: 1px solid #fff;
}
.data-list table th {
    text-align: left;
    background: #e6f0f5;
}
.data-list table tbody tr.even td {
    background: #f2f2f2;
}

.checkbox-list label {
    display: block;
    float: left;
    width: 160px;
    height: 24px;
}

.option {
    height: 3em;
}
a.button {
    display: block;
    float: left;
    margin-right: 6px;
    padding-right: 18px; /* sliding doors padding */
    background: transparent url('../images/bg.png') no-repeat scroll 100% -310px;
    color: #444;
    height: 24px;
    text-decoration: none;
}
a.button span {
    background: transparent url('../images/bg.png') no-repeat 0 -84px;
    display: block;
    line-height: 14px;
    padding: 5px 0 5px 18px;
}
a.button:active {
    background-position: 100% -334px;
    color: #000;
    outline: none; /* hide dotted outline in Firefox */
}
a.button:active span {
    background-position: 0 -108px;
    padding: 6px 0 4px 18px; /* push text down 1px */
} 


#footer {
    position: relative;
    margin: -50px 30px 0;
    padding: 0 20px;
    height: 2.5em;
    line-height: 2.5em;
    border-top: 1px solid #a8aaa9;
    font-size: 0.9em;
    color: #999;
    background: #e7e7e7;
}
#footer p span {
    float: right;
}

/* ================ login =================== */
body#sign {
    color: #555;
    background: #f8f8f8;
}
#sign-bg {
    line-height: 30px;
    color: #fff;
    background: #0a346e;
}
#sign-bg .box {
    margin: auto;
    width: 960px;
    text-align: right;
    font-size: 0.9em;
}
#sign-bg a {
    color: #fff;
}
#sign-box {
    position: relative;
    margin: 180px auto -50px;
    padding: 30px 0;
    width: 550px;
    height: 220px;
    background: #fff url(../images/login-bg.gif) repeat-x left bottom;
    border: 1px solid #ccc;
    -webkit-box-shadow:0 0 5px #999;
    -moz-box-shadow:0 0 5px #999;
}
#sign-box .powered {
    float: left;
    padding: 0 20px;
    width: 200px;
    text-align: right;
}
#sign-box .powered .info {
    margin: 6px 0;
    line-height: 2em;
}
#sign-box .form-box {
    float: left;
    padding: 0 20px;
    width: 240px;
    border-left: 1px dotted #ddd;
}
#sign-box .form-box table {
    width: 100%;
}
#sign-box .form-box h3 {
    line-height: 2em;
}
#sign-box .form-box table th {
    width: 25%;
    text-align: left;
    font-weight:normal;
    vertical-align: top;
    line-height: 1.8em;
}
#sign-box .form-box table input.text {
    width:160px;
}

#message-box {
    margin: 100px auto 50px;
    padding: 10px;
    width: 500px;
    background: #fff;
    text-align: center;
    border: 1px solid #ddd;
    -webkit-box-shadow:0 0 5px #ddd;
    -moz-box-shadow:0 0 5px #ddd;
}



.pagination {
    margin:2px;
    padding:2px;
}
.pagination a {
    border:1px solid #eee;
    color:#036CB4;
    margin:2px;
    padding:2px 5px;
    text-decoration:none;
}
.pagination a:hover {
    border:1px solid #999;
    color:#666;
}
.pagination a:active {
    border:1px solid #999;
    color:#666666;
}
.pagination .current {
    background-color:#036CB4;
    border:1px solid #036CB4;
    color:#fff;
    font-weight:bold;
    margin:2px;
    padding:2px 5px;
}
.pagination .disabled {
    border:1px solid #eee;
    color:#ddd;
    margin:2px;
    padding:2px 5px;
}
